package org.jing.ext.media.m3u8.tag;

import org.jing.ext.media.m3u8.BaseM3U8Tag;
import org.jing.ext.media.m3u8.M3U8TagType;
import org.jing.ext.media.m3u8.M3U8TagTypeInfo;

/**
 * Description: <br>
 *
 * @author bksmate <br>
 * @since 2024-12-24 <br>
 */
@M3U8TagTypeInfo(M3U8TagType.EXT_X_ALLOW_CACHE)
public class M3U8AllowCache extends BaseM3U8Tag {
    private String allowCache;

    @Override public void setParameter(String value) {
        setAllowCache(value);
    }

    @Override protected String outputValue() {
        return allowCache;
    }

    public String getAllowCache() {
        return allowCache;
    }

    public void setAllowCache(String allowCache) {
        this.allowCache = allowCache;
    }
}
